package model;

import java.util.List;


public  class CarrtonKKSearchModel {
    private Integer code;
    private String message;
    private Integer total;
    private List<HitsBean> hits;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<HitsBean> getHits() {
        return hits;
    }

    public void setHits(List<HitsBean> hits) {
        this.hits = hits;
    }

    @Override
    public String toString() {
        return "CarrtonKKSearchModel{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", total=" + total +
                ", hits=" + hits +
                '}';
    }


    public static class HitsBean {
        private Integer id;
        private Integer topic_id;
        private String title;
        private String vertical_image_url;
        private String cover_image_url;
        private Boolean is_favourite;
        private Boolean favourite;
        private List<String> category;
        private Integer likes_count;
        private Integer comments_count;
        private Integer favourite_count;
        private Integer comics_count;
        private String first_comic_publish_time;
        private String author_name;
        private Long popularity;
        private String latest_comic_title;
        private Boolean is_free;
        private ActionTypeBean action_type;
        private ContinueReadComicBean continueReadComic;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getTopic_id() {
            return topic_id;
        }

        public void setTopic_id(Integer topic_id) {
            this.topic_id = topic_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getVertical_image_url() {
            return vertical_image_url;
        }

        public void setVertical_image_url(String vertical_image_url) {
            this.vertical_image_url = vertical_image_url;
        }

        public String getCover_image_url() {
            return cover_image_url;
        }

        public void setCover_image_url(String cover_image_url) {
            this.cover_image_url = cover_image_url;
        }

        public Boolean getIs_favourite() {
            return is_favourite;
        }

        public void setIs_favourite(Boolean is_favourite) {
            this.is_favourite = is_favourite;
        }

        public Boolean getFavourite() {
            return favourite;
        }

        public void setFavourite(Boolean favourite) {
            this.favourite = favourite;
        }

        public List<String> getCategory() {
            return category;
        }

        public void setCategory(List<String> category) {
            this.category = category;
        }

        public Integer getLikes_count() {
            return likes_count;
        }

        public void setLikes_count(Integer likes_count) {
            this.likes_count = likes_count;
        }

        public Integer getComments_count() {
            return comments_count;
        }

        public void setComments_count(Integer comments_count) {
            this.comments_count = comments_count;
        }

        public Integer getFavourite_count() {
            return favourite_count;
        }

        public void setFavourite_count(Integer favourite_count) {
            this.favourite_count = favourite_count;
        }

        public Integer getComics_count() {
            return comics_count;
        }

        public void setComics_count(Integer comics_count) {
            this.comics_count = comics_count;
        }

        public String getFirst_comic_publish_time() {
            return first_comic_publish_time;
        }

        public void setFirst_comic_publish_time(String first_comic_publish_time) {
            this.first_comic_publish_time = first_comic_publish_time;
        }

        public String getAuthor_name() {
            return author_name;
        }

        public void setAuthor_name(String author_name) {
            this.author_name = author_name;
        }

        public Long getPopularity() {
            return popularity;
        }

        public void setPopularity(Long popularity) {
            this.popularity = popularity;
        }

        public String getLatest_comic_title() {
            return latest_comic_title;
        }

        public void setLatest_comic_title(String latest_comic_title) {
            this.latest_comic_title = latest_comic_title;
        }

        public Boolean getIs_free() {
            return is_free;
        }

        public void setIs_free(Boolean is_free) {
            this.is_free = is_free;
        }

        public ActionTypeBean getAction_type() {
            return action_type;
        }

        public void setAction_type(ActionTypeBean action_type) {
            this.action_type = action_type;
        }

        public ContinueReadComicBean getContinueReadComic() {
            return continueReadComic;
        }

        public void setContinueReadComic(ContinueReadComicBean continueReadComic) {
            this.continueReadComic = continueReadComic;
        }

        @Override
        public String toString() {
            return "HitsBean{" +
                    "id=" + id +
                    ", topic_id=" + topic_id +
                    ", title='" + title + '\'' +
                    ", vertical_image_url='" + vertical_image_url + '\'' +
                    ", cover_image_url='" + cover_image_url + '\'' +
                    ", is_favourite=" + is_favourite +
                    ", favourite=" + favourite +
                    ", category=" + category +
                    ", likes_count=" + likes_count +
                    ", comments_count=" + comments_count +
                    ", favourite_count=" + favourite_count +
                    ", comics_count=" + comics_count +
                    ", first_comic_publish_time='" + first_comic_publish_time + '\'' +
                    ", author_name='" + author_name + '\'' +
                    ", popularity=" + popularity +
                    ", latest_comic_title='" + latest_comic_title + '\'' +
                    ", is_free=" + is_free +
                    ", action_type=" + action_type +
                    ", continueReadComic=" + continueReadComic +
                    '}';
        }


        public static class ActionTypeBean {
            private Integer type;
            private String parent_target_id;

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }

            public String getParent_target_id() {
                return parent_target_id;
            }

            public void setParent_target_id(String parent_target_id) {
                this.parent_target_id = parent_target_id;
            }

            @Override
            public String toString() {
                return "ActionTypeBean{" +
                        "type=" + type +
                        ", parent_target_id='" + parent_target_id + '\'' +
                        '}';
            }
        }


        public static class ContinueReadComicBean {
            private Integer id;
            private String title;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public String toString() {
                return "ContinueReadComicBean{" +
                        "id=" + id +
                        ", title='" + title + '\'' +
                        '}';
            }
        }
    }
}
